Optimal. Leaf size=126 \[ -\frac {b^2 (b B-6 A c) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{8 c^{3/2}}+\frac {\left (b x+c x^2\right )^{3/2} (b B-6 A c)}{3 b}+\frac {(b+2 c x) \sqrt {b x+c x^2} (b B-6 A c)}{8 c}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {792, 664, 612, 620, 206} \[ -\frac {b^2 (b B-6 A c) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{8 c^{3/2}}+\frac {\left (b x+c x^2\right )^{3/2} (b B-6 A c)}{3 b}+\frac {(b+2 c x) \sqrt {b x+c x^2} (b B-6 A c)}{8 c}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 612
Rule 620
Rule 664
Rule 792
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (b x+c x^2\right )^{3/2}}{x^2} \, dx &=\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac {\left (2 \left (-2 (-b B+A c)+\frac {5}{2} (-b B+2 A c)\right )\right ) \int \frac {\left (b x+c x^2\right )^{3/2}}{x} \, dx}{b}\\ &=\frac {(b B-6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac {1}{2} (-b B+6 A c) \int \sqrt {b x+c x^2} \, dx\\ &=\frac {(b B-6 A c) (b+2 c x) \sqrt {b x+c x^2}}{8 c}+\frac {(b B-6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac {\left (b^2 (b B-6 A c)\right ) \int \frac {1}{\sqrt {b x+c x^2}} \, dx}{16 c}\\ &=\frac {(b B-6 A c) (b+2 c x) \sqrt {b x+c x^2}}{8 c}+\frac {(b B-6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac {\left (b^2 (b B-6 A c)\right ) \operatorname {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )}{8 c}\\ &=\frac {(b B-6 A c) (b+2 c x) \sqrt {b x+c x^2}}{8 c}+\frac {(b B-6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac {2 A \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac {b^2 (b B-6 A c) \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{8 c^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.19, size = 109, normalized size = 0.87 \[ \frac {\sqrt {x (b+c x)} \left (\sqrt {c} \left (2 b c (15 A+7 B x)+4 c^2 x (3 A+2 B x)+3 b^2 B\right )-\frac {3 b^{3/2} (b B-6 A c) \sinh ^{-1}\left (\frac {\sqrt {c} \sqrt {x}}{\sqrt {b}}\right )}{\sqrt {x} \sqrt {\frac {c x}{b}+1}}\right )}{24 c^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.97, size = 205, normalized size = 1.63 \[ \left [-\frac {3 \, {\left (B b^{3} - 6 \, A b^{2} c\right )} \sqrt {c} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - 2 \, {\left (8 \, B c^{3} x^{2} + 3 \, B b^{2} c + 30 \, A b c^{2} + 2 \, {\left (7 \, B b c^{2} + 6 \, A c^{3}\right )} x\right )} \sqrt {c x^{2} + b x}}{48 \, c^{2}}, \frac {3 \, {\left (B b^{3} - 6 \, A b^{2} c\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) + {\left (8 \, B c^{3} x^{2} + 3 \, B b^{2} c + 30 \, A b c^{2} + 2 \, {\left (7 \, B b c^{2} + 6 \, A c^{3}\right )} x\right )} \sqrt {c x^{2} + b x}}{24 \, c^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 109, normalized size = 0.87 \[ \frac {1}{24} \, \sqrt {c x^{2} + b x} {\left (2 \, {\left (4 \, B c x + \frac {7 \, B b c^{2} + 6 \, A c^{3}}{c^{2}}\right )} x + \frac {3 \, {\left (B b^{2} c + 10 \, A b c^{2}\right )}}{c^{2}}\right )} + \frac {{\left (B b^{3} - 6 \, A b^{2} c\right )} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right )}{16 \, c^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 187, normalized size = 1.48 \[ \frac {3 A \,b^{2} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{8 \sqrt {c}}-\frac {B \,b^{3} \ln \left (\frac {c x +\frac {b}{2}}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{16 c^{\frac {3}{2}}}-\frac {3 \sqrt {c \,x^{2}+b x}\, A c x}{2}+\frac {\sqrt {c \,x^{2}+b x}\, B b x}{4}-\frac {3 \sqrt {c \,x^{2}+b x}\, A b}{4}+\frac {\sqrt {c \,x^{2}+b x}\, B \,b^{2}}{8 c}-\frac {2 \left (c \,x^{2}+b x \right )^{\frac {3}{2}} A c}{b}+\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}} B}{3}+\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}} A}{b \,x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.90, size = 147, normalized size = 1.17 \[ \frac {1}{4} \, \sqrt {c x^{2} + b x} B b x - \frac {B b^{3} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{16 \, c^{\frac {3}{2}}} + \frac {3 \, A b^{2} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{8 \, \sqrt {c}} + \frac {1}{3} \, {\left (c x^{2} + b x\right )}^{\frac {3}{2}} B + \frac {3}{4} \, \sqrt {c x^{2} + b x} A b + \frac {\sqrt {c x^{2} + b x} B b^{2}}{8 \, c} + \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}} A}{2 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (c\,x^2+b\,x\right )}^{3/2}\,\left (A+B\,x\right )}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (x \left (b + c x\right )\right )^{\frac {3}{2}} \left (A + B x\right )}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________